package com.miage.itrading.entites;

import java.io.Serializable;
import java.util.Date;

/**
 * The persistent class for the historique database table.
 * 
 */
public class Intraday implements Serializable {
	private static final long	serialVersionUID	= 1L;

	private int					idCotation;
	private Date				date;
	private float				cotation;
	private long				volume;

	public Intraday() {
	}
	
	public Intraday(int idCotation, Date date, float cotation, long volume) {
		this.idCotation	= idCotation;
		this.date		= date;
		this.cotation	= cotation;
		this.volume		= volume;
	}

	public float getCotation() {
		return cotation;
	}

	public Date getDate() {
		return date;
	}

	public int getIdCotation() {
		return idCotation;
	}

	public long getVolume() {
		return volume;
	}

	public void setCotation(float cotation) {
		this.cotation = cotation;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public void setIdCotation(int idCotation) {
		this.idCotation = idCotation;
	}

	public void setVolume(long volume) {
		this.volume = volume;
	}
}